package com.hyfrogx.modules.manage.form.parameter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @version 1.0.0
 * @Author: lfh
 * @Date: 2019/9/24 11:38
 * @Company 汉咏科技
 * 抽成修改表单
 */
@Data
@ApiModel("充值，注册赠送，产品抽成比例修改表单")
public class VacuateForm {

    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "主键id")
    private Integer id;

    /**
     * 基础价格
     */
    @ApiModelProperty(value = "基础价格")
    private BigDecimal basePrice;

    /**
     * 比例数值
     */
    @NotNull(message = "比例数值不能为空")
    @ApiModelProperty(value = "比例数值")
    private Integer scale;
}
